package com.epoint.springsecuritylearning.rbac.entity;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 纪宽豪
 * @since 2021-09-01
 */
public class FrameRole implements Serializable {

    private static final long serialVersionUID = 1L;

      private String rowguid;

    private String rolename;

      @TableField(fill = FieldFill.INSERT)
    private Date createdate;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedate;

    @Version
    private Integer version;


    public String getRowguid() {
        return rowguid;
    }

    public void setRowguid(String rowguid) {
        this.rowguid = rowguid;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "FrameRole{" +
        "rowguid=" + rowguid +
        ", rolename=" + rolename +
        ", createdate=" + createdate +
        ", updatedate=" + updatedate +
        ", version=" + version +
        "}";
    }
}
